package dao;

import dto.Terminal;
import java.util.Vector;

/**
 *
 * @author Jose Carlos Gutierrez
 */
public abstract class TerminalDao {

    protected Terminal objDto;

    public abstract void update() throws Exception;

    public abstract void delete() throws Exception;

    public abstract Terminal select(int id);

    public abstract Vector<Terminal> selectTodos();

    public abstract Vector<Terminal> selectTodos(int id,boolean conRutas);

    public Terminal getObjDto() {
        return objDto;
    }

    public void setObjDto(Terminal objDto) {
        this.objDto = objDto;
    }
}
